﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TodoApp.ResultModel;

namespace TodoApp.TMS_maintain.TNS_Violation
{
    public interface ITNS_Violations
    {
        public  Task<PageResponse<TNS_ViolationDto>> GetVio(string Viotitel, string VioNumber, int pageindex = 1, int pagesize = 5);

        public  Task<int> VioAdds(TNS_ViolationDto info);

        public  Task<int> DeletVio(string Id);

        public  Task<int> UpdateVioup(TNS_ViolationDto tMS_Induction);

    }
}
